const request = uni.$u.http;

// 上传OSS对象存储
export function upload(params) {
	return request.post('/api/wx/oss/upload', params)
}
// 删除OSS对象存储
export function ossdel(params) {
	return request.delete('/api/wx/oss/' + params, '')
}

// 查询OSS对象基于id串
export function ossListByIds(params, config) {
	return request.get('/api/wx/oss/listByIds/' + params, {
		custom: {
			loading: false
		}
	})
}